﻿@{
    Layout = "~/themes/bootstrap/Shared/_Layout.cshtml";
}
@using UcAsp.Net.Model;
@using UcAsp.Net.BLL;
@using UcAsp.Net.Comm
@{
    var Categories = (UcAsp.Net.Model.Categories)ViewData["Categories"];
    ViewBag.Title = Categories.CategorieName;
    ViewBag.KeyWords = Categories.KeyWords;
    ViewBag.Description = Utils.RemoveHtml(Categories.Remark);
}
 <ul>
        @foreach (Subjects sub in SubjectsConfig.GetCategoriesSubjects(2))
        {
            <li>
                <ul>
                    <li>
                        <h3>@sub.SubjectName<span style="float:right; width:60px; margin-top:5px; font-size:9px;"><a href="/@(Categorie.GetCategorie(sub.Categories).ShowPath)/@{<text>index.shtml</text>}">MORE</a></span></h3>
                    </li>
                    <li>
                        <img alt="@sub.SubjectName" src="@sub.SubjectImg" /></li>
                    <li>
                        <ul>
                            @foreach (ArticelsViews art in ArticlesBLL.GetSubject(sub.SubjectId, 2))
                            { 
                                <li class="catetilte">
                                    <div>
                                        <div class="space">
                                            <div class="line">
                                            </div>
                                        </div>
                                        <div style="float:right; width:370px;">
                                            <a href="/@art.CagegorieShowPath/@if (string.IsNullOrEmpty(art.ShowPath))
                                                                  {@art.ID<text>.shtml</text>}
                                                                  else
                                                                  {@art.ShowPath<text>.shtml</text>}">
                                                @(UcAsp.Net.Comm.Utils.ClearPart(art.Title,20))
                                                </a>
                                        </div>
<div style="clear:both"></div>
                                    </div>
                                </li>
                            }
                        </ul>
			<div style="clear:both"></div>
                    </li>
                </ul>
            </li>
  
        }
    </ul>
